function verifyResult(json){
    var loginArray=[ "1001", "1002", "1003","1004", "1005", "1006","1007", "9000", "9001" ];
    var faileArray=[ "403", "404", "500", "1211", "1212","1213", "2001", "2002","2003", "2004", "9990","9999" ];

    var loginIndex=$.inArray(json.code, loginArray);
    var faileIndex=$.inArray(json.code, faileArray);

    if(loginIndex>-1){
        logout();
        return false;
    }
    if(faileIndex>-1){
        layer.alert(json.msg);
        return false;
    }
    return true;
}
var BaseURL="http://hczlrent.yunjianvc.com";

var LoginURL=BaseURL+"/auth/tologin?";
var LoginoutURL=BaseURL+"/auth/logout?";

var HouseListURL=BaseURL+"/house/list?";
var HouseViewURL=BaseURL+"/house/view?";
var HouseEditURL=BaseURL+"/house/edit?";
var HouseAddURL=BaseURL+"/house/add?";
var HouseDeleteURL=BaseURL+"/house/delete?";

var FolowListURL=BaseURL+"/house/listFolow?";
var FolowAddURL=BaseURL+"/house/addFolow?";
var FolowDeleteURL=BaseURL+"/house/deleteFolow?";

var EmployeeViewURL=BaseURL+"/employee/view?";
var EmployeeDeleteURL=BaseURL+"/employee/delete?";
var EmployeeEditURL=BaseURL+"/employee/edit?";
var EmployeeAddURL=BaseURL+"/employee/register?";
var EmployeeListURL=BaseURL+"/employee/list?";
